{php include wl_template('common/header');}
<ul class="nav nav-tabs" style="margin-bottom: 0px;">
	<li class="active"><a href="{php echo url('platform/special/display')}">系统通知 </a></li>
</ul>
<!--<div class="clearfix">
	<div class="panel panel-default" >
			<div class="panel-heading" >
				 历史通知
			</div>
			<div class="panel-body" style="padding-left: 15px;padding-right: 45px;">
				<ul class="news-list">
				{loop $list $item}
					<li class="col-md-12" style="margin-bottom: 1px; border-bottom: 1px dashed #333;">
						<a href="{php echo web_url('store/notification-list',array('op' => 'content','id' => $item['id']))}">
							{$item['title']}<span style="float: right;">{$item['stime']}</span>
						</a>
					</li>
				{/loop}
					
				</ul>
				{$pager}
			</div>
	</div>
	
</div>-->
<!--编辑链接 {php echo web_url('store/notification-list',array('op' => 'post','id' => $item['id']))}-->
<div class="clearfix">
	<div class="panel panel-default" style="background: none;  padding: 0px; border: none !important;">
				{loop $list $item}
				<a href="{php echo web_url('gzhset/notification-list',array('op' => 'content','id' => $item['id']))}">
				<div class="panel panel-default" style="padding: 15px !important; margin-top: 20px; margin-bottom: 0px !important;">
					<span style="color: #222; font-weight: bold;">{$item['title']}</span><span style="margin-left:20px; color: #b8c0cc; font-size: 12px;">{$item['stime']}</span><br/>
					<div style="color: #6d757a; padding: 10px; font-weight: 400;">{$item['summary']}</div>
					{if $_W['uniacid']==53}<a href="{php echo web_url('gzhset/notification-list',array('op' => 'post','id' => $item['id']))}">编辑</a>
					<a href="{php echo web_url('gzhset/notification',array('op' => 'delete','id' => $item['id']))}">删除 </a>{/if}
				</div>
				</a>
				{/loop}
				

	</div>
	{$pager}
</div>
<script>
	$('.js-batch').click(function(e){
		var sids=sid.val().toString();
        var titles=title.val().toString();
        var contents=content.val().toString();
	    $.ajax({
		    type: "GET",
		    url: "{php echo web_url('store/notification/publish');}",
		    data:{"title":titles,"sid":sids,"content":contents},
			dataType: "json",
		    success: function(data){
				if (data.statustype ==1){
					util.tips('发布成功！', 4000);
				}
				if (data.statustype ==2){
					util.tips('更新成功！', 4000);
				}		
			}
    	});
	}
</script>
{php include wl_template('common/footer');}